package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.*;

/**
 * @author Administrator
 */
public interface RecordService {

    /**
     * 添加咨询记录
     *
     * @return
     */
    void addConsultRecord(Integer userId, Integer cardId, Integer type);

    /**
     * 添加商品转发记录
     *
     * @return
     */
    ResultModel<Integer> addGoodsForwardRecord(GoodsForwardRecordRequest request);

    /**
     * 使商品转发记录有效
     *
     * @return
     */
    ResultModel<Boolean> validGoodsForwardRecord(GoodsForwardRecordRequest request);

    /**
     * 添加文章转发记录
     *
     * @return
     */
    ResultModel<Boolean> addDynamicForwardRecord(DynamicForwardRecordRequest request);

    /**
     * 添加拨打电话记录
     *
     * @return
     */
    void addCallsPhoneRecord(Integer userId, Integer cardId);
}